<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- 自动将http的不安全请求升级为https -->
    <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
    <title>中联物流运力平台</title>
    <link rel="stylesheet" type="text/css" href="../static/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../static/css/mintui.min.css" async/>
    <link type="favicon" rel="shortcut icon" href="./favicon.ico" />
    <script>
      (function() {
        var fontSize = document.documentElement.clientWidth / 3.75
        document.documentElement.style.fontSize = fontSize >= 100 ? 100 + 'px' : fontSize + 'px'
        // 设计稿是375px ，HTML的font-size:100px;
        window.onresize = function() {
          var onFontSize = document.documentElement.clientWidth / 3.75
          document.documentElement.style.fontSize = onFontSize >= 100 ? 100 + 'px' : onFontSize + 'px'
        }
      })()
    </script>
  </head>
  <body>
    <div id="app"></div>
    <!-- 时间弹框容器 -->
    <div id="targetContainer1" style="font-size: .12rem;"></div>
    <!-- 地图容器 -->
    <div id="mapAmap1" style="display: none"></div>
    <script>
      (function() {
        /*
        * IOS10以上不识别放大meta标签
        * 双指缩放、双击缩放
        * **/
        document.documentElement.addEventListener('touchstart', function(event) {
          if (event.touches.length > 1) {
            event.preventDefault()
          }
        }, false)
        let lastTouchEnd = 0
        document.documentElement.addEventListener('touchend', function(event) {
          const now = Date.now()
          if (now - lastTouchEnd <= 300) {
            event.preventDefault()
          }
          lastTouchEnd = now
        }, false)
      })()
    </script>
    <script src="https://webapi.amap.com/maps?v=1.3&key=fa9b7eabec1999400eda99fd955a05ba"></script>
  </body>
</html>
